{% extends "base/theme_profile.html" %}

{% block includeJS %}
<script type="text/javascript" src="/media/js/functionsProfil.js"></script>
<script type="text/javascript">
	var myProfile = false;
	var idAlbum = {{ idAlbum }};
	var zoomed = {{ zoomed }};
	var zoomLevel = {{ zoomLevel}};
	var zoomLat = {{zoomLat}} / 100000000;
	var zoomLong = {{zoomLong}} / 100000000;
	{% if user.is_authenticated %}
		var userId = {{ user.id}};
	{% else %}
		var userId = 0;
	{% endif %}

	var idPhotographer = {{photographer.user.pk}};

</script>
{% endblock includeJS %}

{% block header %}
{% include "base/header.html"  with nomUtilisateur=userName%}
{% endblock header %}

{% block content %}
	{% include "base/carte_profil.html" with photographer=photographer%}
	<div id="content">
	{% include "base/onglets_profil.html" with photographer=photographer%}
	</div>
{% endblock content %}

{% block footer %}
{% include "base/footer.html"%}
{%endblock footer %}
